projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28415b6
)
powerpc/85xx: Fix up clock_freq property in CAN node of dts
author
Bhaskar Upadhaya
<
[email protected]
>
Fri, 4 Mar 2011 14:57:58 +0000
(20:27 +0530)
committer
Kumar Gala
<
[email protected]
>
Fri, 29 Jul 2011 13:53:38 +0000
(08:53 -0500)
Fix up the device tree property associated with the Flexcan clock
frequency. This property is used to calculate the bit timing parameters
for Flexcan.
Signed-off-by: Bhaskar Upadhaya <
[email protected]
>
Signed-off-by: Kumar Gala <
[email protected]
>
arch/powerpc/cpu/mpc85xx/fdt.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/cpu/mpc85xx/fdt.c
b/arch/powerpc/cpu/mpc85xx/fdt.c
index c49f59b839ede53d74097a37535e17a9715ae5b2..c62b12fb1d1124750fbd263f69cbefe34f22ac5c 100644
(file)
--- a/
arch/powerpc/cpu/mpc85xx/fdt.c
+++ b/
arch/powerpc/cpu/mpc85xx/fdt.c
@@
-635,4
+635,7
@@
void ft_cpu_setup(void *blob, bd_t *bd)
*/
do_fixup_by_compat_u32(blob, "fsl,gianfar-ptp-timer",
"timer-frequency", gd->bus_clk/2, 1);
+
+ do_fixup_by_compat_u32(blob, "fsl,flexcan-v1.0",
+ "clock_freq", gd->bus_clk, 1);
}